package com.shigen.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shigen.demo.entity.UserInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface UserInfoMapper extends BaseMapper<UserInfo> {

  @Select("select icon_path from user_info where user_id = #{userid}")
  String getUserIcon(@Param("userid") Integer userid);

  Integer deleteBatchUserIds(@Param("userIds") List<Long> userIds);
}
